package com.lottery.ruok.lottrey.retrofitModule.response;

import java.util.List;

/**
 * Created by ASUS on 2017/11/1.
 */

public class GetRedPacketLogResponse {

    /**
     * status : 1
     * list : {"nums":4,"lucky":4,"total":"1006.00","gifts":[{"user_id":"test5","updated_at":"2017-11-01 12:39:38","amount":"2.00","status":"1","type":"2","avatar":"https://api.ruok.co/upload/2017-10/277_20171023084750.png"},{"user_id":"test5","updated_at":"2017-11-01 12:39:12","amount":"1000.00","status":"1","type":"2","avatar":"https://api.ruok.co/upload/2017-10/277_20171023084750.png"},{"user_id":"test5","updated_at":"2017-11-01 12:38:49","amount":"2.00","status":"1","type":"2","avatar":"https://api.ruok.co/upload/2017-10/277_20171023084750.png"},{"user_id":"test5","updated_at":"2017-10-31 22:26:18","amount":"2.00","status":"1","type":"2","avatar":"https://api.ruok.co/upload/2017-10/276_20171015080443.png"}]}
     */

    private int status;
    private ListBean list;

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public ListBean getList() {
        return list;
    }

    public void setList(ListBean list) {
        this.list = list;
    }

    public static class ListBean {
        /**
         * nums : 4
         * lucky : 4
         * total : 1006.00
         * gifts : [{"user_id":"test5","updated_at":"2017-11-01 12:39:38","amount":"2.00","status":"1","type":"2","avatar":"https://api.ruok.co/upload/2017-10/277_20171023084750.png"},{"user_id":"test5","updated_at":"2017-11-01 12:39:12","amount":"1000.00","status":"1","type":"2","avatar":"https://api.ruok.co/upload/2017-10/277_20171023084750.png"},{"user_id":"test5","updated_at":"2017-11-01 12:38:49","amount":"2.00","status":"1","type":"2","avatar":"https://api.ruok.co/upload/2017-10/277_20171023084750.png"},{"user_id":"test5","updated_at":"2017-10-31 22:26:18","amount":"2.00","status":"1","type":"2","avatar":"https://api.ruok.co/upload/2017-10/276_20171015080443.png"}]
         */

        private int nums;
        private int lucky;
        private String total;
        private List<GiftsBean> gifts;

        public int getNums() {
            return nums;
        }

        public void setNums(int nums) {
            this.nums = nums;
        }

        public int getLucky() {
            return lucky;
        }

        public void setLucky(int lucky) {
            this.lucky = lucky;
        }

        public String getTotal() {
            return total;
        }

        public void setTotal(String total) {
            this.total = total;
        }

        public List<GiftsBean> getGifts() {
            return gifts;
        }

        public void setGifts(List<GiftsBean> gifts) {
            this.gifts = gifts;
        }

        public static class GiftsBean {
            /**
             * user_id : test5
             * updated_at : 2017-11-01 12:39:38
             * amount : 2.00
             * status : 1
             * type : 2
             * avatar : https://api.ruok.co/upload/2017-10/277_20171023084750.png
             */

            private String user_id;
            private String nickname;
            private String updated_at;
            private String amount;
            private String status;
            private String type;
            private String avatar;
            private String gift_id;
            private String gift_rand_id;

            public String getGift_id() {
                return gift_id;
            }

            public void setGift_id(String gift_id) {
                this.gift_id = gift_id;
            }

            public String getGift_rand_id() {
                return gift_rand_id;
            }

            public void setGift_rand_id(String gift_rand_id) {
                this.gift_rand_id = gift_rand_id;
            }

            public String getUser_id() {
                return user_id;
            }

            public void setUser_id(String user_id) {
                this.user_id = user_id;
            }

            public String getUpdated_at() {
                return updated_at;
            }

            public void setUpdated_at(String updated_at) {
                this.updated_at = updated_at;
            }

            public String getAmount() {
                return amount;
            }

            public void setAmount(String amount) {
                this.amount = amount;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getType() {
                return type;
            }

            public void setType(String type) {
                this.type = type;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }
        }
    }
}
